 /* 
 * File:   cSentinelNest.h
 * Author: josep
 *
 * Created on 27 / desembre / 2010, 15:22
 */

#ifndef CSENTINELNEST_H
#define	CSENTINELNEST_H

#include "cAgentNest.h"
#include "cCamera.h"
#include "cData.h"
#include "cSentinel.h"

#define MAX_TIME_PER_BIRTH 1000 //segundos
#define MIN_TIME_PER_BIRTH 100 //segundos


class cSentinelNest:public cAgentNest {
public:
    cSentinelNest();
    cSentinelNest(const cSentinelNest& orig);
    virtual ~cSentinelNest();
    virtual void NextStep(int time);
    void SetCamera(cCamera* Camera);
    void SetData(cData* Data);
private:
    int nextTime;
    int currentTime;
    cCamera* Camera;
    void getTheNextTime();
    cData *Data;
};



#endif	/* CSENTINELNEST_H */

